<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>E-Greeting: Edit user details</title>
</head>
<body bgcolor="#99FFCC">
<%@include file="messages.jsp" %>
<form action="UpdetServlet" method="post">
<table border="1">
<tr>
<td>E-Mail</td>
<td><input type="text"  STYLE="color: blue" name="emailAddr" value="${user._emailAddr}" readonly /></td>
<tr/>
<tr>
<td>First Name
<font size="1" color="red">*</font> </td>
<td><input type="text" name="fName" value="${user._fName}" /></td>
<tr/>
<tr>
<td>Last Name
<font size="1" color="red">*</font></td>
<td><input type="text" name="lName" value="${user._lName}" /></td>
<tr/>
<tr>
<td>Old Password
<font size="1" color="red">*</font></td>
<td><input type="password" name="oldPassword" value="" /></td>
<tr/>
<tr>
<td>New Password</td>
<td><input type="password" name="newPassword" value="" /></td>
<tr/>
<tr>
<td>Re-Enter New Password</td>
<td><input type="password" name="newPassword2" value="" /></td>
<tr/>
<tr>
<td>Phone Number</td>
<td><input type="text" name="phoneNumber" value="${user._phoneNumber}" /></td>
<tr/>
</table>
<br/>
<input type="submit" name="save" value="Save" />
<input type="submit" name="cancel" value=" Cancel " /> 
<br/>
<br/>
<font size="3" color="red">*
Is a mandatory field
<br/>

</form>
</body>
</html>